#include<stdio.h>
int *Max(int a, int b, int c) {
	if (a > b && a>c) {
		return &a;
	}
	if (c > b &&a < c) {
		return &c;
	}
	if (a < b && b> c) {
		return &b;
	}   
}

int a = 1, b = 2, c = 3;
int main() {
	//int a = 1, b = 2, c = 3;
	int* d;
	d = Max(&a, &b, &c);
	printf("%d", *d);
	
}
